module.exports = class extends think.Controller {

    constructor(...arg) {
      super(...arg);
    }
  
    openAction() {
        console.log(111);
        this.emit('opend', 'This client opened successfully!')
        this.broadcast('joined', 'There is a new client joined successfully!')
    }
    closeAction() {
      console.log("")
    }
    testAction(){
      this.emit("test", "this is a test action");
    }
  }